import React, { Component } from 'react';
import NoticeList from './NoticeList';
import $ from 'jquery';
import './scss/NoticeCenter.scss';
import LgTopBar from './common/header/Header'
import FlowChart from './common/flowChart'
import {SKIN_BG_COLOR} from '../../hooks/useGetThem'
class NoticeCenter extends Component {
    constructor(props) {
        super(props);
        this.state = {
            start: 0,
        }
    }
    render() {
        return (
            <div>
                <LgTopBar ></LgTopBar>
                <div className="NoticeCenter-div" style={{
                backgroundColor: SKIN_BG_COLOR[sessionStorage.getItem('skin')]
            }}>
                    {
                        sessionStorage.getItem('isManage') == '1' ?
                            <FlowChart></FlowChart>
                            : ''
                    }
                    <NoticeList></NoticeList>
                </div>
                {/* <Footer></Footer> */}
            </div>
        )
    }
}

export default NoticeCenter;